Translation:

24. Such persons as are covetous and commend covetousness to men. And if any turn back (from Allah's Way) verily Allah is free of all needs worthy of all praise.

Notes (Tafseer)

5311. Neither the Covetous nor the Boasters have any place in the Good Pleasure of Allah. The Covetous are particularly insidious, as their avarice and niggardliness not only keep back the gifts of Allah from men, but their pernicious example dries up the streams of Charity in others.

5312. It is Charity in Allah's Way that is specially in view here. If people are selfish and withhold their hand, they only injure themselves. They do not hurt Allah's Cause, for He is independent of all needs, and He will find other means of assisting His more meagrely-endowed servants; He is worthy of all praise in His care for His creatures.